package com.foreknow.dao;

import com.foreknow.bean.Admin;
import com.foreknow.bean.Guestbook;

import java.sql.SQLException;
import java.util.List;

public interface GuestbookDao {
  /**
   * 查询所有留言信息
   * @return
   * @throws SQLException
   */
  public List<Object> getQueryAll()throws SQLException;

  public boolean add(Guestbook guestbook) throws SQLException;

  public boolean delete(Integer id) throws SQLException;
}
